package com.bluestarenergy.provisioning.engine.domain;

import java.io.Serializable;
import java.util.Date;

import org.hibernate.annotations.Entity;

@Entity
public class BaseEntity implements Serializable{

	private static final long serialVersionUID = -5083157517197861836L;
	
	private String createdBy;
	private Date dateCreated;
	private Date dateLastUpdated;
	private String lastUpdatedBy;
	private Integer version;
	
	public BaseEntity(){
	}
	public String getCreatedBy(){
		return createdBy;
	}
	public Date getDateCreated(){
		return dateCreated;
	}
	public Date getDateLastUpdated(){
		return dateLastUpdated;
	}
	public String getLastUpdatedBy(){
		return lastUpdatedBy;
	}
	public Integer getVersion(){
		return version;
	}
	public void setCreatedBy(String newVal){
		createdBy = newVal;
	}
	public void setDateCreated(Date newVal){
		dateCreated = newVal;
	}
	public void setDateLastUpdated(Date newVal){
		dateLastUpdated = newVal;
	}
	public void setLastUpdatedBy(String newVal){
		lastUpdatedBy = newVal;
	}
	public void setVersion(Integer newVal){
		version = newVal;
	}

}
